const express = require("express");

const port = 3000;

let app = express();
app.use("/", express.static("../parse_system/dist"))

app.use(require("cors")());
app.use(express.json());

require("./routes/admin")(app);
require("./plugins/db")();

app.listen(port, () => {
  console.log("listen port on " + port);
});
